
.card-template .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-template.row {
    justify-content: center;
}

.card-template .card {
    text-align: center;
    max-width: 80vw;
    display: flex;
    padding:  57px 1rem 1rem;
    height: 100%;
}

.card-template .card-top {
    flex-direction: column;
    padding: 10px;
}

.card-template .title-large {
    padding: 10px;
    text-align: center;
}

.card-template .title-small {
    font-weight: 600;
    padding: 10px 0 7px;
}

.subheader {
    text-align: center;
    padding: 0 0 30px 0;
}

.badge-danger {
    position: absolute;
    right: -8px;
    top: -8px;
    z-index: 10;
    padding: .3rem .7rem .25rem !important;
    font-weight: 500;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 12px;
}

.sub-title {
    font-size: 15px;
}

.card-template .card-side {
    flex-direction: row;
    align-items: center;
    margin-bottom: 2rem;
}

.card-template .icon-small,
.card-template .icon-medium,
.card-template .icon-large {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 9;
}

.card-template .icon-small {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 50%;
}

.card-template .icon-medium {
    width: 125px;
    height: 125px;
}

.card-template .icon-large {
    width: 200px;
    height: 200px;
}

.card-template .icon-container {
    position: relative;
}

.card-template .card-icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 0;
}

.card-template .card:hover > .icon-container img:last-child {
    z-index: 10;
}

.card-template .card-description {
    text-align: center;
    padding-bottom: .5rem;
    font-size: 11px;
}

.card-template .card-link {
    width: 160px;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
}

.card-template .link-button {
    display: block;
    background-color: white;
    color: #2e4480;
    border: 1px solid #2E4480;
    border-radius: 2px;
    width: 200px;
    max-width: 100%;
    font-size: 11px;
    transition: all 0.5s;
    cursor: pointer;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    padding: 5px 4px;
    margin-top: 10px;
    position: relative;
}

.card-template .link-button:hover {
    background-color: #2E4480;
    color: #FFFFFF;
}

.card-template .link-button-secondary {
    background-color: #2e4480;
    color: #FFFFFF !important;
    border: 1px solid #2E4480;
}

.card-template .link-button-secondary:hover {
    background-color: #1F2F59;
    color: #FFFFFF;
}
    

    .card-wrapper {
        position: relative;
        padding-top: 45px;
    }

    .card-wrapper,
    .card-container {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .button-container {
        margin-top: auto;
        position: relative;
    }

    .card-description.subtitle-medium table {
        margin: 0 !important;
        width: 100%;
        text-align: left !important;
    }

    .card-description.subtitle-medium table tr td:first-of-type {
        font-weight: 500;
    }

    .card-description.subtitle-medium table p {
        margin-bottom: .3rem
    }

/* Cards take up the whole width of the page and are displayed in a single column. */

@media screen and (min-width: 1200px) {
    .card-template .card-description {
        font-size: 13px;
    }
}

@media (max-width: 1015px) {
    .card-description.subtitle-medium table tr {
        display: flex;
        flex-direction: column;
    }
}


 @media (max-width: 992px) {
     .card-template .card {
         max-width: 100%;
     }

     
 }

 @media screen and (min-width: 900px) {
    .card-side .card {
        padding: 1rem 1rem 1rem 3rem;
    }

    .card-side .card-container,
    .card-side .card-description {
        text-align: left !important;

    }
    .card-template .card-side .icon-small {
        left: 0;
        top: .6rem;
        width: 5rem;
        height: 5rem;
    }

    .card-side .card-wrapper {
        padding-top: 0;
    }
}

 @media (min-width: 768px) {
    .number-of-columns-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
